using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace Water.Web
{
    public class ConfigureResponse
    {
        public static void ConfigureAJAXResponse(HttpResponse response)
        {
            response.ContentEncoding=System.Text.Encoding.UTF8;
            //response.ContentType = "application/x-javascript";
            response.ContentType = "application/json";
            response.Cache.SetCacheability(HttpCacheability.NoCache);
        }
    }
}
